package com.ctshk.rpc.system.req;

import java.io.Serializable;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import com.ctshk.common.model.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value="AddSupplierWriteOffUserReq请求对象", description="新增供应商核销员入参")
public class AddSupplierWriteOffUserReq extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 3027091335636332158L;

    @ApiModelProperty(value = "用户编号")
    private String userNumber;

    @NotBlank(message = "核销员姓名不能为空")
    @ApiModelProperty(value = "用户名称",required = true)
    private String userName;

    @NotNull
    @ApiModelProperty(value = "供应商id",required = true)
    private Long supplierId;

    @NotBlank(message = "供应商名称不能为空")
    @ApiModelProperty(value = "供应商名称",required = true)
    private String supplierName;

    @NotBlank(message = "联系电话不能为空")
    @ApiModelProperty(value = "联系电话",required = true)
    private String phone;

    @NotBlank(message = "邮箱不能为空")
    @ApiModelProperty(value = "邮箱",required = true)
    private String email;

    @NotBlank(message = "登录密码不能为空")
    @ApiModelProperty(value = "登录密码",required = true)
    private String password;


}